<?php
/**
 * Created by PhpStorm.
 * User: jax
 * Date: 15-9-21
 * Time: 下午1:05
 */

namespace App\Http\Controllers\Admin;

use Illuminate\Support\Facades\Input;
use Illuminate\Support\Facades\Session;
use Illuminate\Support\Facades\Config;
use Illuminate\Http\Request;

class DefaultController extends Controller
{

    public function dashboard(Request $request){
    	
       return view('admin.dashboard');
    }

    public function login(){

    }

     public function leftMenu()
    {
        $json = json_encode(['html' => view('admin.left_menu')->render()]);
        return Input::get('jsoncallback').'('.$json.')';
    }
}
